﻿using Cysharp.Threading.Tasks;

namespace Framework.Task
{
    public class Task_NextScene : Task
    {
        public Task_NextScene(int factor, string scenePath) : base(factor, "next scene")
        {
            Shared.Shared.nextScenePath = scenePath;
        }

        protected override async UniTask OnStart()
        {
            await OnFinished();
        }
    }
}